<?php
/**
 * 类名称
 * User: 13651
 * Time: 2025/9/28 15:20
 */

namespace App\Api\V2\Controller\BaseQuery;

use App\Api\Controllers\BaseController;
use App\Param\LeshuaUnion\GetQrocdeParam;
use App\Services\LeshuaUnionCommonService;
use App\Traits\ResponseTrait;
class QueryController  extends BaseController
{
    use ResponseTrait;

    /**
     * 获取实名认证二维码
     * @return string
     * @throws \App\Exceptions\BizException
     * @throws \App\Exceptions\BusinessException
     */
    public function getQrcodeImg()
    {
        $param = GetQrocdeParam::create();
        $data = LeshuaUnionCommonService::getInstance()->getQrcodeImgService($param);
        if (is_string($data))
            return $data;
        return $this->successResponse("ok", $data);
    }

}